<?php
/**
 * Created by PhpStorm.
 * User: iceberg
 * Date: 2019-01-29
 * Time: 12:05
 */

/**
 * 排除不需要验证是否登录的控制器
 */
return [
    //RBAC权限数据信息
    //角色数组
    'RBAC_ROLES'   =>  array(
        1   => '超级管理员',
        101 => '普通管理员',
    ),
    //订单状态
    'PROJECT_TYPE'  =>  array(
        1   =>  '2019全国十佳智慧小镇案例（综合类）',
        2   =>  '2019全国十佳智慧产业小镇案例',
        3   =>  '2019全国十佳智慧运营小镇案例',
        4   =>  '2019全国十佳智慧管理小镇案例',
        5   =>  '2019全国十佳智慧康体小镇案例',
        6   =>  '2019全国十佳智慧小镇规划案例',
    ),
    //权限数组(关联角色数组)
    'RBAC_ROLE_AUTHS'       =>  array(
        1    => '*/*',//拥有全部的权限
        101  => array(
            'base/index/index',
            'base/data/index',
            'base/data/delete',
            'base/data/export',
            'base/data/edit',
            'system/sign/logout',
        ),
    ),
    //免验证action
    'OTHER' =>[
        'system/sign/login',
        'system/sign/check',
        'index/index/index',
        'index/index/form',
        'index/index/upload',
    ],

];